package pers.zb.cloud.service.upms.enums;

import lombok.Getter;
import pers.zb.cloud.service.upms.enums.mybatis.BaseEntityEnum;

@Getter
public enum RoleStatus implements BaseEntityEnum<RoleStatus> {
    ENABLE(1,"启用"),
    DISABLE(2,"禁用");


    private int code;
    private String value;

    RoleStatus(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @Override
    public int getIntValue() {
        return this.code;
    }
}
